﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000DFB RID: 3579
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class RelicFilterPlanClearNameScNotify : IMessage<RelicFilterPlanClearNameScNotify>, IMessage, IEquatable<RelicFilterPlanClearNameScNotify>, IDeepCloneable<RelicFilterPlanClearNameScNotify>, IBufferMessage
	{
		// Token: 0x17002D75 RID: 11637
		// (get) Token: 0x0600A0AF RID: 41135 RVA: 0x001ADBC0 File Offset: 0x001ABDC0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<RelicFilterPlanClearNameScNotify> Parser
		{
			get
			{
				return RelicFilterPlanClearNameScNotify._parser;
			}
		}

		// Token: 0x17002D76 RID: 11638
		// (get) Token: 0x0600A0B0 RID: 41136 RVA: 0x001ADBC7 File Offset: 0x001ABDC7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return RelicFilterPlanClearNameScNotifyReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17002D77 RID: 11639
		// (get) Token: 0x0600A0B1 RID: 41137 RVA: 0x001ADBD9 File Offset: 0x001ABDD9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return RelicFilterPlanClearNameScNotify.Descriptor;
			}
		}

		// Token: 0x0600A0B2 RID: 41138 RVA: 0x001ADBE0 File Offset: 0x001ABDE0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RelicFilterPlanClearNameScNotify()
		{
		}

		// Token: 0x0600A0B3 RID: 41139 RVA: 0x001ADBE8 File Offset: 0x001ABDE8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RelicFilterPlanClearNameScNotify(RelicFilterPlanClearNameScNotify other) : this()
		{
			this.maxTimes_ = other.maxTimes_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600A0B4 RID: 41140 RVA: 0x001ADC0D File Offset: 0x001ABE0D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RelicFilterPlanClearNameScNotify Clone()
		{
			return new RelicFilterPlanClearNameScNotify(this);
		}

		// Token: 0x17002D78 RID: 11640
		// (get) Token: 0x0600A0B5 RID: 41141 RVA: 0x001ADC15 File Offset: 0x001ABE15
		// (set) Token: 0x0600A0B6 RID: 41142 RVA: 0x001ADC1D File Offset: 0x001ABE1D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint MaxTimes
		{
			get
			{
				return this.maxTimes_;
			}
			set
			{
				this.maxTimes_ = value;
			}
		}

		// Token: 0x0600A0B7 RID: 41143 RVA: 0x001ADC26 File Offset: 0x001ABE26
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as RelicFilterPlanClearNameScNotify);
		}

		// Token: 0x0600A0B8 RID: 41144 RVA: 0x001ADC34 File Offset: 0x001ABE34
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(RelicFilterPlanClearNameScNotify other)
		{
			return other != null && (other == this || (this.MaxTimes == other.MaxTimes && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600A0B9 RID: 41145 RVA: 0x001ADC64 File Offset: 0x001ABE64
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.MaxTimes != 0U)
			{
				num ^= this.MaxTimes.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600A0BA RID: 41146 RVA: 0x001ADCA3 File Offset: 0x001ABEA3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600A0BB RID: 41147 RVA: 0x001ADCAB File Offset: 0x001ABEAB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600A0BC RID: 41148 RVA: 0x001ADCB4 File Offset: 0x001ABEB4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.MaxTimes != 0U)
			{
				output.WriteRawTag(24);
				output.WriteUInt32(this.MaxTimes);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600A0BD RID: 41149 RVA: 0x001ADCE8 File Offset: 0x001ABEE8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.MaxTimes != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.MaxTimes);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600A0BE RID: 41150 RVA: 0x001ADD26 File Offset: 0x001ABF26
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(RelicFilterPlanClearNameScNotify other)
		{
			if (other == null)
			{
				return;
			}
			if (other.MaxTimes != 0U)
			{
				this.MaxTimes = other.MaxTimes;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600A0BF RID: 41151 RVA: 0x001ADD57 File Offset: 0x001ABF57
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600A0C0 RID: 41152 RVA: 0x001ADD60 File Offset: 0x001ABF60
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 24U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.MaxTimes = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04003DFD RID: 15869
		private static readonly MessageParser<RelicFilterPlanClearNameScNotify> _parser = new MessageParser<RelicFilterPlanClearNameScNotify>(() => new RelicFilterPlanClearNameScNotify());

		// Token: 0x04003DFE RID: 15870
		private UnknownFieldSet _unknownFields;

		// Token: 0x04003DFF RID: 15871
		public const int MaxTimesFieldNumber = 3;

		// Token: 0x04003E00 RID: 15872
		private uint maxTimes_;
	}
}
